package com.mdx.service;

import com.mdx.entity.User;

import java.util.LinkedHashMap;
import java.util.Set;

public interface UserService {

//    注册

    void register(User user);

    //根据名字查询用户信息
    User getByName(String name);

    Set<String> getRolesByUserName(Integer roleId);

    Set<String> getPermissionsByRoleNames(Set<String> roleNames);

    LinkedHashMap<String, String> getFilterChainMap();
}
